<?php	$atr=array(
					"name"=>"lab",
					"onsubmit"=>"return checkLab()"
				  ); 
	echo form_open('workLevel/edit1',$atr);
	$bar="WorkLevel Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
			<th>WorkLevel_ID</th>
   			<th>Position</th>
   			<th>StandardBasicSalary</th>
   			<th>PositionAllowance</th>
   			<th>ResponsibilityAllowance	</th> 
   			<th>HousingAllowance</th>
   			<th>Action</th> 
	</tr>
	<tr>
			<td><input type="text" name ="WorkLevel_ID" value="<?php echo $result->WorkLevel_ID ?>" /></td>
   			<td><input type "text" name ="Position" value="<?php echo $result->Position ?>" /></td>
   			<td><input type "text" name ="StandardBasicSalary" value="<?php echo $result->StandardBasicSalary ?>" onkeyup="this.value=add_commas(this.value);" /></td>
   			<td><input type "text" name ="PositionAllowance" value="<?php echo $result->PositionAllowance ?>" onkeyup="this.value=add_commas(this.value);" /></td>
   			<td><input type "text" name ="ResponsibilityAllowance" value="<?php echo $result->ResponsibilityAllowance ?>" onkeyup="this.value=add_commas(this.value);" /></td>
   			<td><input type "text" name ="HousingAllowance" value="<?php echo $result->HousingAllowance ?>" onkeyup="this.value=add_commas(this.value);" /></td>
   			<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
